package org.fly.jingwei.bean;

import java.util.List;

/**
 * @author leo.jie (weixiao.me@aliyun.com)
 * @version 1.0
 * @organization bigdata
 * @website https://www.jielongping.com
 * @date 2020/5/30 8:54 上午
 * @since 1.0
 */
public class PageForBean<T> {
    /**
     * 分页的总记录条数
     */
    private int totalProperty;
    /**
     * 对象集合,表示本次的查询结果
     */
    private List<T> root;

    public int getTotalProperty() {
        return totalProperty;
    }

    public List<T> getRoot() {
        return root;
    }

    public void setTotalProperty(int totalProperty) {
        this.totalProperty = totalProperty;
    }

    public void setRoot(List root) {
        this.root = root;
    }
}
